<template>
	<view>
		<!-- <view class="articles">
			<view class="article" v-for="article in articles" :key="article.id" @click="sendArticleId(article.id)" >
				{{article.title}}
			</view>
		</view> -->
		
		
	</view>
</template>

<script>
	export default {
		name:"w-article",
		props:{
			articles:{
				type:Array,
				required:true
			}
		},
		data() {
			return {
				
			};
		},
		methods:{
			sendArticleId(id){
				this.$emit('getarticleid',id);
			}
		}
		
	}
</script>

<style>
.articles{
	margin-top: 25px;
	
}
.article{
	height: 40px;
	line-height: 40px;
	font-size: 14px;
	border-bottom: 1px solid #C8C9CC;
}
</style>
